# 计算1到100的和
num = 1
sum = 0
for num in range (1,101) :
    sum += num
print(sum)